<?php

class JsonRenderer {
	
	static function handle($data='') {
		header('Content-type: application/json');
				
		if (!isset($data)) {
			$data = '';
		}
		return Zend_Json::encode(
		    $data,
		    false,
		    array('enableJsonExprFinder' => true)
		);
	}
	
}